/** 权限类型，系统分为 菜单权限 按钮权限 api接口权限 */
export type PermissionType = 'MENU' | 'BUTTON' | 'API';
/** http 请求方法 */
export type MethodType = 'GET' | 'POST' | 'PATCH' | 'DELETE';
/** 返回类型 */
export type ReturnType = 'primitive' | '';

/** token payload */
export interface JwtCustomPayload {
  userId: number;
  username: string;
  roleCodes: string[];
  currentRoleCode: string;
}
